package cn.online.taxi.sso.service;

import com.alibaba.dubbo.config.annotation.Service;

/**
 * @Author BinBini
 * @Date 2021/3/18 16:27
 * @Version 1.0
 */
@Service
public interface RegisterService {

    // 检查用户名是否被注册
    boolean checkData(String param, int type);

    // 乘客注册
    int passengerRegister(String userName, String phone, String userPwd);

    // 司机注册
    int driverRegister(String driverName, String phone, String userPwd, Integer sex);

}
